package com.sym.demo.factory.simple;

/**
 * @Author: su_yongming
 * @Date: 2021/3/17 10:11
 */
public class SimpleFactoryMain {
    public static void main(String[] args) {
        SimpleFactory simpleFactory = new SimpleFactory();
        Car car = simpleFactory.getCar("benz");

        System.out.println(car.getName());
    }
}
